package com.qf.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * projectName: spring_alibaba
 *
 * @author: 元
 * time: 2021/8/24 0024 19:52
 * description:order模块启动类
 */
@SpringBootApplication
@EnableDiscoveryClient  //不但能注册Eureka,还能注册nacos,zookeeper,console,redis,阿波罗
//@EnableEurekaClient(只能注册Eureka)
@EnableFeignClients
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }


}
